package com.crm.crm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.crm.crm.domain.ControllerLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface LogMapper extends BaseMapper<ControllerLog> {
    @Update("${sql}")  // 使用 @Update 或 @Select 均可
    void executeSql(@Param("sql") String sql);
}
